/*
    SUSAN® - Sole of Unix Save ANything

   
      Copyright (C) 2011-2016 Skyatlas Co. LTD

   

   
*/
#ifndef BAREOS_SRC_STORED_DEVICE_STATUS_INFORMATION_H_
#define BAREOS_SRC_STORED_DEVICE_STATUS_INFORMATION_H_

#include "include/bareos.h"

namespace storagedaemon {

class DeviceResource;

/**
 * Device specific status information returned via Device::DeviceStatus()
 * method via bsdEventDriveStatus and bsdEventVolumeStatus plugin events.
 */
struct DeviceStatusInformation {
  DeviceResource* device_resource = nullptr;
  POOLMEM* status = nullptr;
  int status_length = 0;
};

}  // namespace storagedaemon
#endif  // BAREOS_SRC_STORED_DEVICE_STATUS_INFORMATION_H_
